package com.xtck.ha.job.task;

import com.xtck.ha.system.api.RemoteDataAnalysisService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * @author zhouss
 * @date 2024/11/15
 **/
@Component("nodeHealthTask")
public class NodeHealthTask {

    @Autowired
    RemoteDataAnalysisService remoteDataAnalysisService;

    public void statistic() throws Exception{
        System.out.println("nodeHealthTask");
        remoteDataAnalysisService.generate("");
    }
}
